package hcn.protocol.brandnew.zhenliao.yaopin;

import lombok.Data;
import javax.xml.bind.annotation.*;
import java.util.List;
import hcn.protocol.brandnew.BaseRequest;


/**
 * 药品价格信息查询-请求信息 - ODS_03020012
 *
 * @author enjoyLife
 */
@Data
@XmlRootElement(name = "MsgBody")
@XmlAccessorType(XmlAccessType.FIELD)
public class QueryDrugsRequest extends BaseRequest {

    /**
     * 就诊医疗机构组织机构代码
     */
    @XmlElement(name = "VisitOrganization")
    private String visitOrganization;
    /**
     * 关键字
     */
    @XmlElement(name = "InputCode")
    private String inputCode;
    /**
     * 分页页数
     */
    @XmlElement(name = "PageNo")
    private Long pageNo;
    /**
     * 每页条数
     */
    @XmlElement(name = "PageSize")
    private Long pageSize;
    @XmlElementWrapper(name = "DrugLists")
    @XmlElement(name = "DrugList")
    private List<InnerDrugList> drugLists;

    @Data
    @XmlRootElement(name = "DrugList")
    public static class InnerDrugList {

//        @XmlElement(name = "DrugsNumber")
//        private String drugsNumber;
    }
}
